/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package conf2.model;

import conf2.model.EActor.Side;
import java.util.EnumMap;
import java.util.Map;

/**
 *
 * @author Administrator
 */
public class BinaryLogger implements GameLogger {
    private GameData data = new GameData();

    public void logNames(String serverPlayerName, String clientPlayerName) {
        data.serverName = serverPlayerName;
        data.clientName = clientPlayerName;
    }

    public void logNewRound(Side serverSide) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void logPlacement(Map<EActor, ETerritory> placement) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void logMove(EActor who, ETerritory to) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void logAttack(EActor attacker, EActor defender) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void logRetreat(EActor who, ETerritory to) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void logCardChoice(Side side, ECard card) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void logEndOfRound(Side winner, int score) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    public static class GameData {
        public String serverName, clientName;
        public Map<EActor, ETerritory> placementOne = new EnumMap<EActor, ETerritory>(EActor.class);
        public Map<EActor, ETerritory> placementTwo = new EnumMap<EActor, ETerritory>(EActor.class);
    }

    public void writeToFile(String name) {

    }

}
